<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
    <title>
        <c:if test="${empty(mhInfoSrc.id)}">添加资讯来源</c:if>
        <c:if test="${!empty(mhInfoSrc.id)}">编辑资讯来源</c:if>
    </title>
</head>

<body>

<div id="wrapper">
    <div class="gray-bg">
        <div class="row m-t-sm">
            <div class="col-lg-12">
                <ol class="breadcrumb f-fl">
                    <li>
                        <i class="fa fa-location-arrow"></i><a>资讯来源管理</a>
                    </li>
                    <li class="active">
                        <strong>
                            <c:if test="${empty(mhInfoSrc.id)}">添加资讯来源</c:if>
                            <c:if test="${!empty(mhInfoSrc.id)}">编辑资讯来源</c:if>
                        </strong>
                    </li>
                </ol>
                <span class="navbar-right  m-r m-t-8"><a href="javascript:history.go(-1);" class="btn-primary btn-add "> <i class='fa fa-mail-reply'></i> 返回</a></span>
            </div>
        </div>
        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-content">
                            <form method="get" data-ajax="${ctx}/admin/info/infoSrc/list" action="${ctx}/admin/info/infoSrc/save"  class="form-horizontal" id="base_form">
                                <input  type="hidden" name="id" value="${mhInfoSrc.id}"/>

                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span class="text-danger">*</span>类型名称</label>
                                    <div class="col-sm-3"><input type="text" class="form-control" placeholder="来源名称" value="${mhInfoSrc.title}" name="title" required></div>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                                    <div class="col-sm-4 col-sm-offset-2">
                                        <button class="btn btn-primary" type="submit">保 存</button>
                                        <a href="javascript:history.go(-1);" class="btn btn-white ">  取消</a>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>

<script>


</script>
</body>

</html>
